export interface BaseEntity {
  createBy: string;
  createTime: string;
  updateBy?: string; // 使用可选属性代替 null
  updateTime?: string; // 使用可选属性代替 null
  remark?: string; // 使用可选属性代替 null
}

export interface DeptOperation extends BaseEntity {
  businessType?: number;
  businessTypes: any | null;
  costTime: number;
  deptName: string;
  errorMsg?: string;
  jsonResult: string;
  method: string;
  operId: number;
  operIp: string;
  operLocation: string;
  operName: string;
  operParam: string;
  operTime: string;
  operUrl: string;
  operatorType: number;
  requestMethod: string;
  status: number;
  title: string;
}

export interface DictionaryData extends BaseEntity {
  cssClass?: string; // 使用可选属性代替 null
  default: boolean;
  dictCode: number;
  dictLabel: string;
  dictSort: number;
  dictType: string;
  dictValue: string;
  isDefault: string;
  listClass: string;
  params: any; // params 是一个对象类型
  status: string; // 若表示数字状态，可以考虑改为 number
}
